<template>
  <div class="person">
    
  </div>
</template>

<script setup lang="ts" name="Person">
  import { type personInter ,type psrsons} from '@/types/index'
  import { ref } from 'vue'

  //let person:personInter = {name:'张三',age:18,sex:'男'}

  // let personList:Array<personInter> = [
  //   {name:'张三',age:18,sex:'男'},
  //   {name:'张三',age:18,sex:'男'},
  //   {name:'张三',age:18,sex:'男'},
  // ]

  let personList:persons = [
    {name:'张三',age:18,sex:'男'},
    {name:'张三',age:18,sex:'男'},
    {name:'张三',age:18,sex:'男'},
  ]
</script>

<style scoped>
.person {
    /* 背景颜色 */
    background-color: skyblue;
    /* 阴影 */
    box-shadow: 0 0px 10px;
    /* 圆角 */
    border-radius: 4px;
    padding: 20px; /* 内边距 */
  }
button { 
    margin: 0 5px;
}
</style>


